package com.buke66.taoduo.user.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.buke66.taoduo.common.utils.PageUtils;
import com.buke66.taoduo.common.utils.Query;

import com.buke66.taoduo.user.dao.UserIntegrationChangeHistoryDao;
import com.buke66.taoduo.user.entity.UserIntegrationChangeHistoryEntity;
import com.buke66.taoduo.user.service.UserIntegrationChangeHistoryService;


@Service("userIntegrationChangeHistoryService")
public class UserIntegrationChangeHistoryServiceImpl extends ServiceImpl<UserIntegrationChangeHistoryDao, UserIntegrationChangeHistoryEntity> implements UserIntegrationChangeHistoryService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserIntegrationChangeHistoryEntity> page = this.page(
                new Query<UserIntegrationChangeHistoryEntity>().getPage(params),
                new QueryWrapper<UserIntegrationChangeHistoryEntity>()
        );

        return new PageUtils(page);
    }

}